import './css/index.css';
import img from './assets/pic02.jpg';

document.body.insertAdjacentHTML('beforeend','<h1>我是一个有背景色的标题</h1>');
document.body.insertAdjacentHTML('beforeend',`<img src=${img}></img>`);